| System | Linux web 2.6.32-gentoo-r7 #1 SMP Tue Apr 20 12:12:21 CEST 2010 i686 |
| Build Date | Apr 2 2010 22:40:56 |
| Configure Command | './configure' '--prefix=/usr/lib/php5' '--host=i686-pc-linux-gnu' '--mandir=/usr/lib/php5/man' '--infodir=/usr/lib/php5/info' '--sysconfdir=/etc' '--cache-file=./config.cache' '--with-pcre-regex=/usr' '--disable-cli' '--with-apxs2=/usr/sbin/apxs2' '--with-config-file-path=/etc/php/apache2-php5' '--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active' '--without-pear' '--disable-bcmath' '--with-bz2' '--disable-calendar' '--with-curl' '--without-curlwrappers' '--disable-dbase' '--disable-exif' '--without-fbsql' '--without-fdftk' '--enable-ftp' '--with-gettext' '--without-gmp' '--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-mhash' '--without-msql' '--without-mssql' '--with-ncurses' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--without-pgsql' '--disable-posix' '--without-pspell' '--without-recode' '--disable-shmop' '--with-snmp' '--enable-soap' '--disable-sockets' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-tokenizer' '--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter' '--without-xmlrpc' '--without-xsl' '--enable-zip' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4' '--disable-flatfile' '--with-gdbm' '--disable-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--with-imap' '--with-imap-ssl' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-mysqli' '--without-pdo-dblib' '--with-pdo-mysql=/usr' '--without-pdo-odbc' '--without-pdo-pgsql' '--without-pdo-sqlite' '--with-readline' '--without-libedit' '--without-mm' '--without-sqlite' |
| Server API | Apache 2.0 Handler |
| Virtual Directory Support | disabled |
| Configuration File (php.ini) Path | /etc/php/apache2-php5 |
| Loaded Configuration File | /etc/php/apache2-php5/php.ini |
| Scan this dir for additional .ini files | /etc/php/apache2-php5/ext-active |
| additional .ini files parsed | (none) |
| PHP API | 20041225 |
| PHP Extension | 20060613 |
| Zend Extension | 220060519 |
| Debug Build | no |
| Thread Safety | disabled |
| Zend Memory Manager | enabled |
| IPv6 Support | enabled |
| Registered PHP Streams | https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, zip |
| Registered Stream Socket Transports | tcp, udp, unix, udg, ssl, sslv3, sslv2, tls |
| Registered Stream Filters | zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed |
| SPL support | enabled |
| Interfaces | Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject |
| Classes | AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException |
| Variable | Value |
| spl_fifo | /lib/splash/cache/.splash |
| CONSOLE | /dev/console |
| TERM | linux |
| DEFAULTLEVEL | default |
| SPLASH_TEXTBOX | no |
| SPLASH_KDMODE | TEXT |
| spl_decor | //sbin/fbcondecor_ctl.static |
| SPLASH_XSERVICE | xdm |
| SPLASH_BOOT_MESSAGE | Booting the system ($progress%)... Press F2 for verbose mode. |
| RC_RUNLEVEL | default |
| SPLASH_TTY | 16 |
| SPLASH_EFFECTS | fadein,fadeout |
| CRITICAL_SERVICES | checkroot modules checkfs localmount clock bootmisc |
| INIT_VERSION | sysvinit-2.87 |
| SPLASH_SANITY | no value |
| spl_cachesize | 4096 |
| SPLASH_PROFILE | off |
| SPLASH_THEME | default |
| RC_BOOTLEVEL | boot |
| PATH | /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin |
| spl_tmpdir | /lib/splash/tmp |
| spl_daemon | //sbin/fbsplashd.static |
| RUNLEVEL | 3 |
| PWD | / |
| spl_cachedir | /lib/splash/cache |
| spl_pidfile | /lib/splash/cache/daemon.pid |
| SPLASH_MODE_REQ | off |
| PREVLEVEL | N |
| SPLASH_SHUTDOWN_MESSAGE | Shutting down the system ($progress%)... Press F2 for verbose mode. |
| BOOTLEVEL | boot |
| SVCNAME | apache2 |
| SPLASH_REBOOT_MESSAGE | Rebooting the system ($progress%)... Press F2 for verbose mode. |
| CONSOLETYPE | vt |
| HOME | / |
| SHLVL | 2 |
| spl_util | //bin/splash_util.static |
| spl_bindir | /lib/splash/bin |
| RC_DEFAULTLEVEL | default |
| SOFTLEVEL | default |
| spl_cachetype | tmpfs |
| SPLASH_AUTOVERBOSE | 0 |
| OLDSOFTLEVEL | boot |
| splash_get_mode | () { local ctty="${spl_bindir}/fgconsole";
local mode="$(${spl_util})";
if [ "${mode}" = "silent" ]; then
echo "silent";
else
if [ -z "$(${spl_decor} -c getstate --tty=${ctty} 2>/dev/null | grep off)" ]; then
echo "verbose";
else
echo "off";
fi;
fi
} |
| splash_svclist_get | () { if [ "$1" = "start" -a -r "${spl_cachedir}/svcs_start" ]; then
cat "${spl_cachedir}/svcs_start";
else
if [ "$1" = "stop" -a -r "${spl_cachedir}/svcs_stop" ]; then
cat "${spl_cachedir}/svcs_stop";
fi;
fi
} |
| splash_get_boot_message | () { if [ "${RUNLEVEL}" = "6" ]; then
echo "${SPLASH_REBOOT_MESSAGE}";
else
if [ "${RUNLEVEL}" = "0" ]; then
echo "${SPLASH_SHUTDOWN_MESSAGE}";
else
echo "${SPLASH_BOOT_MESSAGE}";
fi;
fi
} |
| splash_comm_send | () { if [ -z "`pidof $(basename ${spl_daemon})`" ]; then
return 1;
else
splash_profile "comm $*";
echo "$*" > "${spl_fifo}" &
fi
} |
| splash_setup | () { if [ "${SPLASH_THEME}" != "" -a "${SPLASH_TTY}" != "" -a "$1" != "force" ]; then
return 0;
fi;
export SPLASH_EFFECTS="";
export SPLASH_SANITY="";
export SPLASH_TEXTBOX="no";
export SPLASH_MODE_REQ="off";
export SPLASH_PROFILE="off";
export SPLASH_THEME="default";
export SPLASH_TTY="16";
export SPLASH_KDMODE="TEXT";
export SPLASH_AUTOVERBOSE="0";
export SPLASH_BOOT_MESSAGE="Booting the system (\$progress%)... Press F2 for verbose mode.";
export SPLASH_SHUTDOWN_MESSAGE="Shutting down the system (\$progress%)... Press F2 for verbose mode.";
export SPLASH_REBOOT_MESSAGE="Rebooting the system (\$progress%)... Press F2 for verbose mode.";
export SPLASH_XSERVICE="xdm";
[ -f /etc/splash/splash ] && . /etc/splash/splash;
[ -f /etc/conf.d/splash ] && . /etc/conf.d/splash;
[ -f /etc/conf.d/fbcondecor ] && . /etc/conf.d/fbcondecor;
if [ -f /proc/cmdline ]; then
options=$(grep -o 'splash=[^ ]*' /proc/cmdline);
for opt in ${options};
do
options=${opt#*=};
for i in $(echo "${options}" | sed -e 's/,/ /g');
do
case ${i%:*} in
theme)
SPLASH_THEME=${i#*:}
;;
tty)
SPLASH_TTY=${i#*:}
;;
verbose)
SPLASH_MODE_REQ="verbose"
;;
silent)
SPLASH_MODE_REQ="silent"
;;
kdgraphics)
SPLASH_KDMODE="GRAPHICS"
;;
profile)
SPLASH_PROFILE="on"
;;
insane)
SPLASH_SANITY="insane"
;;
esac;
done;
done;
fi
} |
| splash_cache_cleanup | () { [ -z "$(grep ${spl_cachedir} /proc/mounts)" ] && return;
if [ ! -d "${spl_tmpdir}" ]; then
mkdir -p "${spl_tmpdir}" 2> /dev/null;
[ "$?" != "0" ] && return;
fi;
if [ -n "$(pgrep fbsplashd)" ]; then
sleep 1;
killall -9 "${spl_daemon##*/}" 2> /dev/null;
fi;
local mntopt="";
[ -w /etc/mtab ] || mntopt="-n";
mount ${mntopt} --move "${spl_cachedir}" "${spl_tmpdir}" 2> /dev/null;
[ -w "${spl_cachedir}" ] || return;
if [ "${SPLASH_PROFILE}" != "off" ]; then
cp -a "${spl_tmpdir}/profile" "${spl_cachedir}" 2> /dev/null;
fi;
while [ -n "$1" ]; do
cp -a "${spl_tmpdir}/$1" "${spl_cachedir}" 2> /dev/null;
shift;
done;
umount -l "${spl_tmpdir}" 2> /dev/null
} |
| splash_silent | () { splash_comm_send "set mode silent"
} |
| splash_start | () { if [ "${SPLASH_MODE_REQ}" = "verbose" ]; then
${spl_decor} -c on 2> /dev/null;
return 0;
else
if [ "${SPLASH_MODE_REQ}" != "silent" ]; then
return 0;
fi;
fi;
if [ "${SPLASH_MODE_REQ}" = "silent" -a "${SPLASH_SANITY}" != "insane" ]; then
if [ -z "$(grep -E '(^| )CONSOLE=/dev/tty1( |$)' /proc/cmdline)" -a -z "$(grep -E '(^| )console=tty1( |$)' /proc/cmdline)" ]; then
clear;
splash_warn "You don't appear to have a correct console= setting on your kernel";
splash_warn "command line. Silent splash will not be enabled. Please add";
splash_warn "console=tty1 or CONSOLE=/dev/tty1 to your kernel command line";
splash_warn "to avoid this message.";
if [ -n "$(grep 'CONSOLE=/dev/tty1' /proc/cmdline)" -o -n "$(grep 'console=tty1' /proc/cmdline)" ]; then
splash_warn "Note that CONSOLE=/dev/tty1 and console=tty1 are general parameters and";
splash_warn "not splash= settings.";
fi;
return 1;
fi;
if [ -n "$(grep -E '(^| )CONSOLE=/dev/tty1( |$)' /proc/cmdline)" ]; then
mount -n --bind / ${spl_tmpdir};
if [ ! -c "${spl_tmpdir}/dev/tty1" ]; then
umount -n ${spl_tmpdir};
splash_warn "The filesystem mounted on / doesn't contain the /dev/tty1 device";
splash_warn "which is required for the silent splash to function properly.";
splash_warn "Silent splash will not be enabled. Please create the appropriate";
splash_warn "device node to avoid this message.";
return 1;
fi;
umount -n ${spl_tmpdir};
fi;
fi;
rm -f "${spl_pidfile}";
rm -f "${spl_fifo}" 2> /dev/null;
mkfifo "${spl_fifo}";
local options="";
[ "${SPLASH_KDMODE}" = "GRAPHICS" ] && options="--kdgraphics";
[ -n "${SPLASH_EFFECTS}" ] && options="${options} --effects=${SPLASH_EFFECTS}";
[ "${SPLASH_TEXTBOX}" = "yes" ] && options="${options} --textbox";
local ttype="bootup";
if [ "${RUNLEVEL}" = "6" ]; then
ttype="reboot";
else
if [ "${RUNLEVEL}" = "0" ]; then
ttype="shutdown";
fi;
fi;
BOOT_MSG="$(splash_get_boot_message)" ${spl_daemon} --theme="${SPLASH_THEME}" --pidfile="${spl_pidfile}" --type=${ttype} ${options};
splash_comm_send "set tty silent ${SPLASH_TTY}";
if [ "${SPLASH_MODE_REQ}" = "silent" ]; then
splash_comm_send "set mode silent";
splash_comm_send "repaint";
${spl_decor} -c on 2> /dev/null;
fi;
splash_comm_send "set autoverbose ${SPLASH_AUTOVERBOSE}";
splash_set_event_dev;
return 0
} |
| splash_set_event_dev | () { local t="$(grep -Hsi keyboard /sys/class/input/input*/name | sed -e 's#.*input\([0-9]*\)/name.*#event\1#')";
if [ -z "${t}" ]; then
t="$(grep -Hsi keyboard /sys/class/input/event*/device/driver/description | grep -o 'event[0-9]\+')";
if [ -z "${t}" ]; then
for i in /sys/class/input/input*;
do
if [ "$((0x$(cat $i/capabilities/ev) & 0x100002))" = "1048578" ]; then
t="$(echo $i | sed -e 's#.*input\([0-9]*\)#event\1#')";
fi;
done;
if [ -z "${t}" ]; then
t="$(/bin/grep -s -m 1 '^H: Handlers=kbd' /proc/bus/input/devices | grep -o 'event[0-9]*')";
fi;
fi;
fi;
[ -n "${t}" ] && splash_comm_send "set event dev /dev/input/${t}"
} |
| splash_cache_prep | () { mount -ns -t "${spl_cachetype}" cachedir "${spl_tmpdir}" -o rw,mode=0644,size="${spl_cachesize}"k;
retval=$?;
if [[ ${retval} -ne 0 ]]; then
eerror "Unable to create splash cache - switching to verbose.";
splash_verbose;
return "${retval}";
fi;
cp -a ${svcdir}/{depcache,deptree} "${spl_tmpdir}" 2> /dev/null;
cp -a ${spl_cachedir}/{svcs_start,svcs_stop,levels} "${spl_tmpdir}" 2> /dev/null;
mount -n --move "${spl_tmpdir}" "${spl_cachedir}";
h=$(ls -ld --full-time ${spl_cachedir}/deptree 2>/dev/null | cut -f6,7,8 -d' ');
/sbin/depscan.sh --svcdir "${spl_cachedir}";
if [[ "$1" == "start" ]]; then
if [[ ! -e ${spl_cachedir}/levels || ! -e ${spl_cachedir}/svcs_start ]]; then
echo $(splash_svclist_update "start") > ${spl_cachedir}/svcs_start;
else
local lastlev timestamp;
{
read lastlev;
read timestamp
} < ${spl_cachedir}/levels;
if [[ "${lastlev}" != "${BOOTLEVEL}/${DEFAULTLEVEL}" || "${timestamp}" != "$(ls -ld --full-time /etc/runlevels/${BOOTLEVEL} | cut -f6,7,8 -d' ')/$(ls -ld --full-time /etc/runlevels/${DEFAULTLEVEL} | cut -f6,7,8 -d' ')" || "$(ls -ld --full-time ${spl_cachedir}/deptree 2>/dev/null | cut -f6,7,8 -d' ')" != "${h}" ]]; then
echo $(splash_svclist_update "start") > ${spl_cachedir}/svcs_start;
fi;
fi;
echo -n > ${spl_cachedir}/profile;
fi;
return 0
} |
| splash_verbose | () { chvt 1
} |
| splash | () { local event="$1";
shift;
if [ "${event}" = "rc_init" ]; then
splash_setup "force";
else
splash_setup;
fi;
[ "${SPLASH_MODE_REQ}" = "off" ] && return;
if [ "${event}" = "rc_init" ]; then
if [ "${RUNLEVEL}" = "S" -a "$1" = "sysinit" ]; then
splash_cache_prep 'start' || return;
else
if [ "${RUNLEVEL}" = "6" -o "${RUNLEVEL}" = "0" ]; then
if ! touch "${spl_cachedir}/message" 2> /dev/null; then
splash_cache_prep 'stop' || return;
fi;
fi;
fi;
fi;
local args="";
if [ "${event}" = "rc_init" -o "${event}" = "rc_exit" ]; then
args="$* ${RUNLEVEL}";
else
if [ "${event}" = "svc_started" -o "${event}" = "svc_stopped" ]; then
if [ -z "$2" ]; then
args="$* 0";
else
args="$*";
if [ "$2" != "0" ]; then
if [ "${event}" = "svc_started" ]; then
event="svc_start_failed";
else
event="svc_stop_failed";
fi;
fi;
fi;
else
args="$*";
fi;
fi;
splash_profile "pre ${event} ${args}";
if [ -x "/etc/splash/${SPLASH_THEME}/scripts/${event}-pre" ]; then
/etc/splash/"${SPLASH_THEME}"/scripts/${event}-pre ${args};
fi;
case "$event" in
svc_start)
splash_svc_start "$1"
;;
svc_stop)
splash_svc_stop "$1"
;;
svc_started)
splash_svc "$1" "start"
;;
svc_stopped)
splash_svc "$1" "stop"
;;
svc_start_failed)
splash_svc_fail "$1" "start"
;;
svc_stop_failed)
splash_svc_fail "$1" "stop"
;;
svc_input_begin)
splash_input_begin "$1"
;;
svc_input_end)
splash_input_end "$1"
;;
rc_init)
splash_init "$1" "${RUNLEVEL}"
;;
rc_exit)
splash_exit "${RUNLEVEL}"
;;
critical)
splash_verbose
;;
esac;
splash_profile "post ${event} ${args}";
if [ -x "/etc/splash/${SPLASH_THEME}/scripts/${event}-post" ]; then
/etc/splash/"${SPLASH_THEME}"/scripts/${event}-post ${args};
fi;
return 0
} |
| splash_profile | () { if [ "${SPLASH_PROFILE}" = "on" ]; then
echo "$(cat /proc/uptime | cut -f1 -d' '): $*" >> "${spl_cachedir}/profile";
fi
} |
| chvt | () { local ntty=$1;
if [ -x /usr/bin/chvt ]; then
/usr/bin/chvt ${ntty};
else
printf "\e[12;${ntty}]";
fi
} |
| _ | /usr/sbin/apache2 |
| Variable | Value |
| _REQUEST["?f"] | Array
(
[0] => <a href=http://www.illisible.com/>Schroumyziguac</a%3
)
|
| _GET["?f"] | Array
(
[0] => <a href=http://www.illisible.com/>Schroumyziguac</a%3
)
|
| _SERVER["UNIQUE_ID"] | TFP73X8AAAEAAH7jMJwAAAAI |
| _SERVER["HTTP_X_CC_ID"] | ccc03-02 |
| _SERVER["HTTP_IF_MODIFIED_SINCE"] | Tue, 16 Feb 2010 21:13:44 GMT |
| _SERVER["HTTP_HOST"] | www.ziehmdesign.de |
| _SERVER["HTTP_USER_AGENT"] | CCBot/1.0 (+http://www.commoncrawl.org/bot.html) |
| _SERVER["HTTP_ACCEPT"] | text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 |
| _SERVER["HTTP_ACCEPT_LANGUAGE"] | en-us,en;q=0.5 |
| _SERVER["HTTP_ACCEPT_ENCODING"] | gzip |
| _SERVER["HTTP_ACCEPT_CHARSET"] | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| _SERVER["HTTP_CONNECTION"] | close |
| _SERVER["HTTP_CACHE_CONTROL"] | no-cache |
| _SERVER["HTTP_PRAGMA"] | no-cache |
| _SERVER["PATH"] | /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin |
| _SERVER["SERVER_SIGNATURE"] | <address>Apache Server at www.ziehmdesign.de Port 80</address>
|
| _SERVER["SERVER_SOFTWARE"] | Apache |
| _SERVER["SERVER_NAME"] | www.ziehmdesign.de |
| _SERVER["SERVER_ADDR"] | 85.183.242.3 |
| _SERVER["SERVER_PORT"] | 80 |
| _SERVER["REMOTE_ADDR"] | 38.107.191.107 |
| _SERVER["DOCUMENT_ROOT"] | /var/www/www.ziehmdesign.de/htdocs/ |
| _SERVER["SERVER_ADMIN"] | webmaster@ziehmdesign.de |
| _SERVER["SCRIPT_FILENAME"] | /var/www/www.ziehmdesign.de/htdocs/phpinfo.php |
| _SERVER["REMOTE_PORT"] | 42327 |
| _SERVER["GATEWAY_INTERFACE"] | CGI/1.1 |
| _SERVER["SERVER_PROTOCOL"] | HTTP/1.1 |
| _SERVER["REQUEST_METHOD"] | GET |
| _SERVER["QUERY_STRING"] | ?f[]=%3Ca%20href%3Dhttp%3A//www.illisible.com/%3ESchroumyziguac%3C/a%3 |
| _SERVER["REQUEST_URI"] | /phpinfo.php??f[]=%3Ca%20href%3Dhttp%3A//www.illisible.com/%3ESchroumyziguac%3C/a%3 |
| _SERVER["SCRIPT_NAME"] | /phpinfo.php |
| _SERVER["PHP_SELF"] | /phpinfo.php |
| _SERVER["REQUEST_TIME"] | 1280572381 |
| _SERVER["argv"] | Array
(
[0] => ?f[]=%3Ca%20href%3Dhttp%3A//www.illisible.com/%3ESchroumyziguac%3C/a%3
)
|
| _SERVER["argc"] | 1 |
| _ENV["spl_fifo"] | /lib/splash/cache/.splash |
| _ENV["CONSOLE"] | /dev/console |
| _ENV["TERM"] | linux |
| _ENV["DEFAULTLEVEL"] | default |
| _ENV["SPLASH_TEXTBOX"] | no |
| _ENV["SPLASH_KDMODE"] | TEXT |
| _ENV["spl_decor"] | //sbin/fbcondecor_ctl.static |
| _ENV["SPLASH_XSERVICE"] | xdm |
| _ENV["SPLASH_BOOT_MESSAGE"] | Booting the system ($progress%)... Press F2 for verbose mode. |
| _ENV["RC_RUNLEVEL"] | default |
| _ENV["SPLASH_TTY"] | 16 |
| _ENV["SPLASH_EFFECTS"] | fadein,fadeout |
| _ENV["CRITICAL_SERVICES"] | checkroot modules checkfs localmount clock bootmisc |
| _ENV["INIT_VERSION"] | sysvinit-2.87 |
| _ENV["SPLASH_SANITY"] | no value |
| _ENV["spl_cachesize"] | 4096 |
| _ENV["SPLASH_PROFILE"] | off |
| _ENV["SPLASH_THEME"] | default |
| _ENV["RC_BOOTLEVEL"] | boot |
| _ENV["PATH"] | /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin |
| _ENV["spl_tmpdir"] | /lib/splash/tmp |
| _ENV["spl_daemon"] | //sbin/fbsplashd.static |
| _ENV["RUNLEVEL"] | 3 |
| _ENV["PWD"] | / |
| _ENV["spl_cachedir"] | /lib/splash/cache |
| _ENV["spl_pidfile"] | /lib/splash/cache/daemon.pid |
| _ENV["SPLASH_MODE_REQ"] | off |
| _ENV["PREVLEVEL"] | N |
| _ENV["SPLASH_SHUTDOWN_MESSAGE"] | Shutting down the system ($progress%)... Press F2 for verbose mode. |
| _ENV["BOOTLEVEL"] | boot |
| _ENV["SVCNAME"] | apache2 |
| _ENV["SPLASH_REBOOT_MESSAGE"] | Rebooting the system ($progress%)... Press F2 for verbose mode. |
| _ENV["CONSOLETYPE"] | vt |
| _ENV["HOME"] | / |
| _ENV["SHLVL"] | 2 |
| _ENV["spl_util"] | //bin/splash_util.static |
| _ENV["spl_bindir"] | /lib/splash/bin |
| _ENV["RC_DEFAULTLEVEL"] | default |
| _ENV["SOFTLEVEL"] | default |
| _ENV["spl_cachetype"] | tmpfs |
| _ENV["SPLASH_AUTOVERBOSE"] | 0 |
| _ENV["OLDSOFTLEVEL"] | boot |
| _ENV["splash_get_mode"] | () { local ctty="${spl_bindir}/fgconsole";
local mode="$(${spl_util})";
if [ "${mode}" = "silent" ]; then
echo "silent";
else
if [ -z "$(${spl_decor} -c getstate --tty=${ctty} 2>/dev/null | grep off)" ]; then
echo "verbose";
else
echo "off";
fi;
fi
} |
| _ENV["splash_svclist_get"] | () { if [ "$1" = "start" -a -r "${spl_cachedir}/svcs_start" ]; then
cat "${spl_cachedir}/svcs_start";
else
if [ "$1" = "stop" -a -r "${spl_cachedir}/svcs_stop" ]; then
cat "${spl_cachedir}/svcs_stop";
fi;
fi
} |
| _ENV["splash_get_boot_message"] | () { if [ "${RUNLEVEL}" = "6" ]; then
echo "${SPLASH_REBOOT_MESSAGE}";
else
if [ "${RUNLEVEL}" = "0" ]; then
echo "${SPLASH_SHUTDOWN_MESSAGE}";
else
echo "${SPLASH_BOOT_MESSAGE}";
fi;
fi
} |
| _ENV["splash_comm_send"] | () { if [ -z "`pidof $(basename ${spl_daemon})`" ]; then
return 1;
else
splash_profile "comm $*";
echo "$*" > "${spl_fifo}" &
fi
} |
| _ENV["splash_setup"] | () { if [ "${SPLASH_THEME}" != "" -a "${SPLASH_TTY}" != "" -a "$1" != "force" ]; then
return 0;
fi;
export SPLASH_EFFECTS="";
export SPLASH_SANITY="";
export SPLASH_TEXTBOX="no";
export SPLASH_MODE_REQ="off";
export SPLASH_PROFILE="off";
export SPLASH_THEME="default";
export SPLASH_TTY="16";
export SPLASH_KDMODE="TEXT";
export SPLASH_AUTOVERBOSE="0";
export SPLASH_BOOT_MESSAGE="Booting the system (\$progress%)... Press F2 for verbose mode.";
export SPLASH_SHUTDOWN_MESSAGE="Shutting down the system (\$progress%)... Press F2 for verbose mode.";
export SPLASH_REBOOT_MESSAGE="Rebooting the system (\$progress%)... Press F2 for verbose mode.";
export SPLASH_XSERVICE="xdm";
[ -f /etc/splash/splash ] && . /etc/splash/splash;
[ -f /etc/conf.d/splash ] && . /etc/conf.d/splash;
[ -f /etc/conf.d/fbcondecor ] && . /etc/conf.d/fbcondecor;
if [ -f /proc/cmdline ]; then
options=$(grep -o 'splash=[^ ]*' /proc/cmdline);
for opt in ${options};
do
options=${opt#*=};
for i in $(echo "${options}" | sed -e 's/,/ /g');
do
case ${i%:*} in
theme)
SPLASH_THEME=${i#*:}
;;
tty)
SPLASH_TTY=${i#*:}
;;
verbose)
SPLASH_MODE_REQ="verbose"
;;
silent)
SPLASH_MODE_REQ="silent"
;;
kdgraphics)
SPLASH_KDMODE="GRAPHICS"
;;
profile)
SPLASH_PROFILE="on"
;;
insane)
SPLASH_SANITY="insane"
;;
esac;
done;
done;
fi
} |
| _ENV["splash_cache_cleanup"] | () { [ -z "$(grep ${spl_cachedir} /proc/mounts)" ] && return;
if [ ! -d "${spl_tmpdir}" ]; then
mkdir -p "${spl_tmpdir}" 2> /dev/null;
[ "$?" != "0" ] && return;
fi;
if [ -n "$(pgrep fbsplashd)" ]; then
sleep 1;
killall -9 "${spl_daemon##*/}" 2> /dev/null;
fi;
local mntopt="";
[ -w /etc/mtab ] || mntopt="-n";
mount ${mntopt} --move "${spl_cachedir}" "${spl_tmpdir}" 2> /dev/null;
[ -w "${spl_cachedir}" ] || return;
if [ "${SPLASH_PROFILE}" != "off" ]; then
cp -a "${spl_tmpdir}/profile" "${spl_cachedir}" 2> /dev/null;
fi;
while [ -n "$1" ]; do
cp -a "${spl_tmpdir}/$1" "${spl_cachedir}" 2> /dev/null;
shift;
done;
umount -l "${spl_tmpdir}" 2> /dev/null
} |
| _ENV["splash_silent"] | () { splash_comm_send "set mode silent"
} |
| _ENV["splash_start"] | () { if [ "${SPLASH_MODE_REQ}" = "verbose" ]; then
${spl_decor} -c on 2> /dev/null;
return 0;
else
if [ "${SPLASH_MODE_REQ}" != "silent" ]; then
return 0;
fi;
fi;
if [ "${SPLASH_MODE_REQ}" = "silent" -a "${SPLASH_SANITY}" != "insane" ]; then
if [ -z "$(grep -E '(^| )CONSOLE=/dev/tty1( |$)' /proc/cmdline)" -a -z "$(grep -E '(^| )console=tty1( |$)' /proc/cmdline)" ]; then
clear;
splash_warn "You don't appear to have a correct console= setting on your kernel";
splash_warn "command line. Silent splash will not be enabled. Please add";
splash_warn "console=tty1 or CONSOLE=/dev/tty1 to your kernel command line";
splash_warn "to avoid this message.";
if [ -n "$(grep 'CONSOLE=/dev/tty1' /proc/cmdline)" -o -n "$(grep 'console=tty1' /proc/cmdline)" ]; then
splash_warn "Note that CONSOLE=/dev/tty1 and console=tty1 are general parameters and";
splash_warn "not splash= settings.";
fi;
return 1;
fi;
if [ -n "$(grep -E '(^| )CONSOLE=/dev/tty1( |$)' /proc/cmdline)" ]; then
mount -n --bind / ${spl_tmpdir};
if [ ! -c "${spl_tmpdir}/dev/tty1" ]; then
umount -n ${spl_tmpdir};
splash_warn "The filesystem mounted on / doesn't contain the /dev/tty1 device";
splash_warn "which is required for the silent splash to function properly.";
splash_warn "Silent splash will not be enabled. Please create the appropriate";
splash_warn "device node to avoid this message.";
return 1;
fi;
umount -n ${spl_tmpdir};
fi;
fi;
rm -f "${spl_pidfile}";
rm -f "${spl_fifo}" 2> /dev/null;
mkfifo "${spl_fifo}";
local options="";
[ "${SPLASH_KDMODE}" = "GRAPHICS" ] && options="--kdgraphics";
[ -n "${SPLASH_EFFECTS}" ] && options="${options} --effects=${SPLASH_EFFECTS}";
[ "${SPLASH_TEXTBOX}" = "yes" ] && options="${options} --textbox";
local ttype="bootup";
if [ "${RUNLEVEL}" = "6" ]; then
ttype="reboot";
else
if [ "${RUNLEVEL}" = "0" ]; then
ttype="shutdown";
fi;
fi;
BOOT_MSG="$(splash_get_boot_message)" ${spl_daemon} --theme="${SPLASH_THEME}" --pidfile="${spl_pidfile}" --type=${ttype} ${options};
splash_comm_send "set tty silent ${SPLASH_TTY}";
if [ "${SPLASH_MODE_REQ}" = "silent" ]; then
splash_comm_send "set mode silent";
splash_comm_send "repaint";
${spl_decor} -c on 2> /dev/null;
fi;
splash_comm_send "set autoverbose ${SPLASH_AUTOVERBOSE}";
splash_set_event_dev;
return 0
} |
| _ENV["splash_set_event_dev"] | () { local t="$(grep -Hsi keyboard /sys/class/input/input*/name | sed -e 's#.*input\([0-9]*\)/name.*#event\1#')";
if [ -z "${t}" ]; then
t="$(grep -Hsi keyboard /sys/class/input/event*/device/driver/description | grep -o 'event[0-9]\+')";
if [ -z "${t}" ]; then
for i in /sys/class/input/input*;
do
if [ "$((0x$(cat $i/capabilities/ev) & 0x100002))" = "1048578" ]; then
t="$(echo $i | sed -e 's#.*input\([0-9]*\)#event\1#')";
fi;
done;
if [ -z "${t}" ]; then
t="$(/bin/grep -s -m 1 '^H: Handlers=kbd' /proc/bus/input/devices | grep -o 'event[0-9]*')";
fi;
fi;
fi;
[ -n "${t}" ] && splash_comm_send "set event dev /dev/input/${t}"
} |
| _ENV["splash_cache_prep"] | () { mount -ns -t "${spl_cachetype}" cachedir "${spl_tmpdir}" -o rw,mode=0644,size="${spl_cachesize}"k;
retval=$?;
if [[ ${retval} -ne 0 ]]; then
eerror "Unable to create splash cache - switching to verbose.";
splash_verbose;
return "${retval}";
fi;
cp -a ${svcdir}/{depcache,deptree} "${spl_tmpdir}" 2> /dev/null;
cp -a ${spl_cachedir}/{svcs_start,svcs_stop,levels} "${spl_tmpdir}" 2> /dev/null;
mount -n --move "${spl_tmpdir}" "${spl_cachedir}";
h=$(ls -ld --full-time ${spl_cachedir}/deptree 2>/dev/null | cut -f6,7,8 -d' ');
/sbin/depscan.sh --svcdir "${spl_cachedir}";
if [[ "$1" == "start" ]]; then
if [[ ! -e ${spl_cachedir}/levels || ! -e ${spl_cachedir}/svcs_start ]]; then
echo $(splash_svclist_update "start") > ${spl_cachedir}/svcs_start;
else
local lastlev timestamp;
{
read lastlev;
read timestamp
} < ${spl_cachedir}/levels;
if [[ "${lastlev}" != "${BOOTLEVEL}/${DEFAULTLEVEL}" || "${timestamp}" != "$(ls -ld --full-time /etc/runlevels/${BOOTLEVEL} | cut -f6,7,8 -d' ')/$(ls -ld --full-time /etc/runlevels/${DEFAULTLEVEL} | cut -f6,7,8 -d' ')" || "$(ls -ld --full-time ${spl_cachedir}/deptree 2>/dev/null | cut -f6,7,8 -d' ')" != "${h}" ]]; then
echo $(splash_svclist_update "start") > ${spl_cachedir}/svcs_start;
fi;
fi;
echo -n > ${spl_cachedir}/profile;
fi;
return 0
} |
| _ENV["splash_verbose"] | () { chvt 1
} |
| _ENV["splash"] | () { local event="$1";
shift;
if [ "${event}" = "rc_init" ]; then
splash_setup "force";
else
splash_setup;
fi;
[ "${SPLASH_MODE_REQ}" = "off" ] && return;
if [ "${event}" = "rc_init" ]; then
if [ "${RUNLEVEL}" = "S" -a "$1" = "sysinit" ]; then
splash_cache_prep 'start' || return;
else
if [ "${RUNLEVEL}" = "6" -o "${RUNLEVEL}" = "0" ]; then
if ! touch "${spl_cachedir}/message" 2> /dev/null; then
splash_cache_prep 'stop' || return;
fi;
fi;
fi;
fi;
local args="";
if [ "${event}" = "rc_init" -o "${event}" = "rc_exit" ]; then
args="$* ${RUNLEVEL}";
else
if [ "${event}" = "svc_started" -o "${event}" = "svc_stopped" ]; then
if [ -z "$2" ]; then
args="$* 0";
else
args="$*";
if [ "$2" != "0" ]; then
if [ "${event}" = "svc_started" ]; then
event="svc_start_failed";
else
event="svc_stop_failed";
fi;
fi;
fi;
else
args="$*";
fi;
fi;
splash_profile "pre ${event} ${args}";
if [ -x "/etc/splash/${SPLASH_THEME}/scripts/${event}-pre" ]; then
/etc/splash/"${SPLASH_THEME}"/scripts/${event}-pre ${args};
fi;
case "$event" in
svc_start)
splash_svc_start "$1"
;;
svc_stop)
splash_svc_stop "$1"
;;
svc_started)
splash_svc "$1" "start"
;;
svc_stopped)
splash_svc "$1" "stop"
;;
svc_start_failed)
splash_svc_fail "$1" "start"
;;
svc_stop_failed)
splash_svc_fail "$1" "stop"
;;
svc_input_begin)
splash_input_begin "$1"
;;
svc_input_end)
splash_input_end "$1"
;;
rc_init)
splash_init "$1" "${RUNLEVEL}"
;;
rc_exit)
splash_exit "${RUNLEVEL}"
;;
critical)
splash_verbose
;;
esac;
splash_profile "post ${event} ${args}";
if [ -x "/etc/splash/${SPLASH_THEME}/scripts/${event}-post" ]; then
/etc/splash/"${SPLASH_THEME}"/scripts/${event}-post ${args};
fi;
return 0
} |
| _ENV["splash_profile"] | () { if [ "${SPLASH_PROFILE}" = "on" ]; then
echo "$(cat /proc/uptime | cut -f1 -d' '): $*" >> "${spl_cachedir}/profile";
fi
} |
| _ENV["chvt"] | () { local ntty=$1;
if [ -x /usr/bin/chvt ]; then
/usr/bin/chvt ${ntty};
else
printf "\e[12;${ntty}]";
fi
} |
| _ENV["_"] | /usr/sbin/apache2 |